package com.ttbj.qr.dao;

import org.apache.ibatis.annotations.Param;
import com.ttbj.qr.po.QR;

public interface QRMapper {
    int deleteByPrimaryKey(Long qrId);

    int insert(QR record);

    int insertSelective(QR record);

    QR selectByPrimaryKey(Long qrId);

    int updateByPrimaryKeySelective(QR record);

    int updateByPrimaryKey(QR record);

    QR  selectByOrderId(@Param("orderId") Long orderId); // 根据订单编号获取二维码路径信息
}